import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import { NgZorroAntdModule, NZ_I18N, zh_CN } from 'ng-zorro-antd';

import { SexReformPipe } from 'src/app/base/pipe/sex.reform.pipe';
import { BooleanPipe } from 'src/app/base/pipe/boolean.pipe';
import { LengthPipe } from 'src/app/base/pipe/length.pipe';
import { SafePipe } from 'src/app/base/pipe/safe.pipe';

@NgModule({
    declarations: [
        SexReformPipe,
        BooleanPipe,
        LengthPipe,
        SafePipe
    ],
    imports: [
    ],
    exports: [
        FormsModule,
        NgZorroAntdModule,
        HttpClientModule,
        SexReformPipe,
        BooleanPipe,
        LengthPipe,
        SafePipe
    ],
    entryComponents: [
    ],
    providers: [
        { provide: NZ_I18N, useValue: zh_CN }
    ],
    bootstrap: []
})
export class ShareModule {
}
